package com.changgou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 文件微服务微服务启动工程
 *
 * @author mario
 * @version 1.0
 * @date 2020/11/12 14:24
 * @description 排除掉数据库类的自动配置
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableEurekaClient
public class FileApplication {
  public static void main(String[] args) {
    SpringApplication.run(FileApplication.class, args);
  }
}
